// -----------------------------------------------
// Author:     code34 nicolas_boiteux@yahoo.fr
// Edited by:  Neumatic
// Warcontext: Teleport to base
// -----------------------------------------------

private ["_position"];

_position = getMarkerPos "respawn_west";

if (leader (group player) == player) then {
	{		
		if ((!isPlayer _x) and {(_x distance player < 50)}) then {
			_x setPos _position;
		};
	} foreach (units (group player));
};

player setPos _position;